function [filterTrack, filterID] =  addFilter(main)

	main.filterNumber = main.filterNumber + 1;  % New filter number

    filterName = ['filter' num2str(main.filterNumber)]; % Notation: 'filterX'

    filterTrack = main.addprop(filterName);       % Creates new Filter as property of stageOne
    main.(filterName) = newFilter(main);    % Ineriths filter properties
    
    filterID = main.filterNumber;
    
    %Filter track allows the property to be deleted in the future. Is later
    %saved in filterTracking cell array.

end